package com.oracle.service.impl;

import com.oracle.entity.Leave2;
import com.oracle.mapper.Leave2Mapper;
import com.oracle.service.Leave2Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author
 * @since 2025年05月15日
 */
@Service
public class Leave2ServiceImpl extends ServiceImpl<Leave2Mapper, Leave2> implements Leave2Service {

    @Autowired
    private Leave2Mapper leaveMapper;

    @Override
    public Leave2 findInfoById(int taskid) {
        return leaveMapper.selectById(taskid);
    }
}
